package com.example.cx.demos.controller;

import org.apache.ibatis.annotations.Delete;
import org.springframework.web.bind.annotation.*;

/**
 * @author admin
 * @date 2025/9/30
 */
@RestController
public class TestController {
    @PostMapping("/add")
    public String add(){
        System.out.println("修改提交信息");
        return "添加成功";
    }

    @DeleteMapping("/del")
    public String del(){
        return "删除成功";
    }

    @PutMapping("/update")
    public String update(){
        return "修改成功";
    }

    @GetMapping("/query")
    public String query(){
        return "查询成功";
    }

}
